package com.patent.service.impl;

import com.patent.dao.UnpaidFeeMapper;
import com.patent.domain.po.UnpaidFee;
import com.patent.domain.vo.PatentFeeVo;
import com.patent.service.UnpaidFeeService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @create 2018-04-29 17:08
 **/
@Service("unpaidFeeService")
@Transactional
public class UnpaidFeeServiceImpl implements UnpaidFeeService {

	private static final Logger log = LoggerFactory.getLogger(UnpaidFeeServiceImpl.class);

	@Resource(name="unpaidFeeMapper")
	private UnpaidFeeMapper unpaidFeeMapper;

	@Override
	public List<PatentFeeVo> queryUnpaidPatent() {
		return unpaidFeeMapper.queryUnpaidPatent();
	}

	@Override
	public List<PatentFeeVo> selectAllIds(Map<String, Object> queryMap) {
		return unpaidFeeMapper.selectAllIds(queryMap);
	}

	@Override
	public List<PatentFeeVo> queryPatentFee(List<PatentFeeVo> monList) {
		return unpaidFeeMapper.queryPatentFee(monList);
	}

	@Override
	public UnpaidFee queryUnpaidFee(Map<String, Object> map) {
		return unpaidFeeMapper.queryUnpaidFee(map);
	}
}
